<?php

class Main extends Controller {
	var $data;

	function Main()
	{
		parent::Controller();
        $this->load->helper("url");
		$this->data["base"] = $this->config->item('base_url');
        
        session_start();
        $_SESSION["phpReportsLanguage"] = "default";
	}
	
	function index()
	{
		$this->load->view('layout/head', $this->data);
		$this->load->view('layout/body', $this->data);
		$this->load->view('layout/login-index', $this->data);
		$this->load->view('layout/footer', $this->data);
	}
	
	function sort() {
		$this->load->view('layout/head', $this->data);
		$this->load->view('layout/body', $this->data);
		$this->load->view('test', $this->data);
		$this->load->view('layout/foot', $this->data);
	}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */
